﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsPeriquinSearchFoodKcalUnits" targetNamespace="http://tempuri.org/dsPeriquinSearchFoodKcalUnits.xsd" xmlns:mstns="http://tempuri.org/dsPeriquinSearchFoodKcalUnits.xsd" xmlns="http://tempuri.org/dsPeriquinSearchFoodKcalUnits.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="conn" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="conn (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.NutriFast.Properties.Settings.GlobalReference.Default.conn" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="spPeriquinSearchFoodKcalUnitsTableAdapter" GeneratorDataComponentClassName="spPeriquinSearchFoodKcalUnitsTableAdapter" Name="spPeriquinSearchFoodKcalUnits" UserDataComponentName="spPeriquinSearchFoodKcalUnitsTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="conn (Settings)" DbObjectName="[Nutri-Fast].dbo.spPeriquinSearchFoodKcalUnits" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.spPeriquinSearchFoodKcalUnits</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@fName" Precision="0" ProviderType="NVarChar" Scale="0" Size="30" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="idFood" DataSetColumn="idFood" />
              <Mapping SourceColumn="fName" DataSetColumn="fName" />
              <Mapping SourceColumn="csugerida" DataSetColumn="csugerida" />
              <Mapping SourceColumn="unidad" DataSetColumn="unidad" />
              <Mapping SourceColumn="kcal" DataSetColumn="kcal" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsPeriquinSearchFoodKcalUnits" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="dsPeriquinSearchFoodKcalUnits" msprop:Generator_UserDSName="dsPeriquinSearchFoodKcalUnits">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="spPeriquinSearchFoodKcalUnits" msprop:Generator_TableClassName="spPeriquinSearchFoodKcalUnitsDataTable" msprop:Generator_TableVarName="tablespPeriquinSearchFoodKcalUnits" msprop:Generator_TablePropName="spPeriquinSearchFoodKcalUnits" msprop:Generator_RowDeletingName="spPeriquinSearchFoodKcalUnitsRowDeleting" msprop:Generator_UserTableName="spPeriquinSearchFoodKcalUnits" msprop:Generator_RowChangingName="spPeriquinSearchFoodKcalUnitsRowChanging" msprop:Generator_RowEvHandlerName="spPeriquinSearchFoodKcalUnitsRowChangeEventHandler" msprop:Generator_RowDeletedName="spPeriquinSearchFoodKcalUnitsRowDeleted" msprop:Generator_RowEvArgName="spPeriquinSearchFoodKcalUnitsRowChangeEvent" msprop:Generator_RowChangedName="spPeriquinSearchFoodKcalUnitsRowChanged" msprop:Generator_RowClassName="spPeriquinSearchFoodKcalUnitsRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="idFood" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidFood" msprop:Generator_ColumnPropNameInRow="idFood" msprop:Generator_ColumnPropNameInTable="idFoodColumn" msprop:Generator_UserColumnName="idFood" type="xs:int" />
              <xs:element name="fName" msprop:Generator_ColumnVarNameInTable="columnfName" msprop:Generator_ColumnPropNameInRow="fName" msprop:Generator_ColumnPropNameInTable="fNameColumn" msprop:Generator_UserColumnName="fName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="csugerida" msprop:Generator_ColumnVarNameInTable="columncsugerida" msprop:Generator_ColumnPropNameInRow="csugerida" msprop:Generator_ColumnPropNameInTable="csugeridaColumn" msprop:Generator_UserColumnName="csugerida" type="xs:double" minOccurs="0" />
              <xs:element name="unidad" msprop:Generator_ColumnVarNameInTable="columnunidad" msprop:Generator_ColumnPropNameInRow="unidad" msprop:Generator_ColumnPropNameInTable="unidadColumn" msprop:Generator_UserColumnName="unidad" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="kcal" msprop:Generator_ColumnVarNameInTable="columnkcal" msprop:Generator_ColumnPropNameInRow="kcal" msprop:Generator_ColumnPropNameInTable="kcalColumn" msprop:Generator_UserColumnName="kcal" type="xs:double" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:spPeriquinSearchFoodKcalUnits" />
      <xs:field xpath="mstns:idFood" />
    </xs:unique>
  </xs:element>
</xs:schema>